<?php

class Content extends AppModel {
    var $name = 'Content';
    var $validate = array(
        'email' => array('rule'=>'email','message'=>'Please enter a valid email'),
        'url' => array('rule'=>'notEmpty','message'=>'This field cannot be left blank'),
        'title' => array('rule'=>'notEmpty','message'=>'This field cannot be left blank'),
        'description' => array('rule'=>'notEmpty','message'=>'Please fill in the description'),
    );
}